<ul>
  <% if Admin::ProjectPortfoliosController.searchable? %>
    <li>
      <%= render :partial => "/shared/admin/search",
                  :locals => {
                    :url => admin_project_portfolios_path
                  } %>
    </li>
  <% end %>
  <li>
    <%= link_to t('.create_new'), new_admin_project_portfolio_path,
                 :class => "add_icon" %>
  </li>
<% if !searching? and Admin::ProjectPortfoliosController.sortable? and ProjectPortfolio.count > 1 %>
  <li>
    <%= link_to t('.reorder', :what => "Project Portfolios"),
                 admin_project_portfolios_path,
                 :id => "reorder_action",
                 :class => "reorder_icon" %>

    <%= link_to t('.reorder_done', :what => "Project Portfolios"),
                 admin_project_portfolios_path,
                 :id => "reorder_action_done",
                 :style => "display: none;",
                 :class => "reorder_icon" %>
  </li>
<% end %>
</ul>